package com.jy.adscm.dealer.service;

import com.jy.adscm.dealer.bean.DealerMembers;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-16
 */
public interface DealerMembersService extends IService<DealerMembers> {

    boolean insertDealerMembers(DealerMembers dealerMembers,Token token) throws AdscmSystemException;

    boolean deleteDealerMembers(Integer id, Token token)throws AdscmSystemException;

    Boolean updateDealerMembers(DealerMembers dealerMembers, Token token)throws AdscmSystemException;

    List<DealerMembers> selectDealerMembers(Integer did)throws AdscmSystemException;
}
